﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="CommentResponse.ascx.vb" Inherits="Control_WhatCookToDay_CommentResponse" %>
 <script type="text/javascript">
     function ajaxJquery() {
         $(document).ready(function () {
             $("#<%=txtFullName.ClientId %>").focus(function () {
                 if (this.value != "" && this.value != "Họ & Tên") {
                     return;
                 }
                 else
                     this.value = "";
             });

             $("#<%=txtFullName.ClientId %>").blur(function () {
                 if (this.value == "") {
                     this.value = "Họ & Tên";
                     return;
                 }
             });

             $("#<%=txtEmail.ClientId %>").focus(function () {
                 if (this.value != "" && this.value != "Email") {
                     return;
                 }
                 else
                     this.value = "";
             });

             $("#<%=txtEmail.ClientId %>").blur(function () {
                 if (this.value == "") {
                     this.value = "Email";
                     return;
                 }
             });

         });
     }
    </script>
<div class="knorr_search_bottom">                        	
    <div class="knorr_search_loop">
        <ul>
    	    <li>
                <asp:TextBox ID="txtFullName" runat="server" class="select-box large"></asp:TextBox></li>
            <li><asp:TextBox ID="txtEmail" runat="server" class="select-box large"></asp:TextBox></li>
            <li><asp:TextBox ID="txtContent" TextMode="MultiLine" Height="120" runat="server" class="select-box large"></asp:TextBox></li>
            <li style="padding-bottom: 0;">
                <asp:ImageButton ID="btnVote" CausesValidation = "false" ImageUrl="~/images/knorr_search_button.png" runat="server" />&nbsp;<asp:ImageButton ID="btnResponse" CausesValidation = "True" ImageUrl="~/images/knorr_search_button.png" runat="server" />
            </li>
        </ul>
    </div>  
</div>